import fetch from '@/utils/request'

export function page(query) {
  console.log('queryqueryqueryqueryqueryqueryquery')
  console.log(query)
  return fetch({
    url: '/api/adminBiz/aisuanAmtAdmin/queryAmt',
    method: 'post',
    data: query
  })
}
export function updateAmt(obj) {
  return fetch({
    url: '/api/adminBiz/aisuanAmtAdmin/updateAmt',
    method: 'post',
    param: obj
  })
}
export function putObj(id, obj) {
  return fetch({
    url: '/api/adminBiz/aisuanAmtAdmin/' + id,
    method: 'put',
    data: obj
  })
}
